<include file="Common:header" />
    <css file="__PUBLIC__/Admin/css/arc.css"/>
    <css file="__PUBLIC__/Admin/css/common.css"/>
    <script>
            var url = "__URL__";
    </script>
       <js file="__PUBLIC__/Admin/js/class.js"/>
    <js file="__PUBLIC__/Admin/js/bg.js"/>
</head>
<title></title>
<body>
    <div class="top_addres">
        <div class="addres">添加属性</div> 
    </div>
        <table class="table3">
                <tr>
                    <th>所属分类:</th>
                    <td>
                        <span class="checkType pid" pid="{$type.cid}">
                            {$type.classname}
                        </span>
                    </td>
               </tr>
            <tr>
                <th>分类名称:</th>
                <td><input type="text" name="classname" class="w200"></td>
            </tr>
            <if condition="isset($_GET['cid'])">
             <tr class="isType">
                    <th>类型:</th>
                    <td>
                        <span class="checkType tp" tid="0">
                            选择类型
                        </span>
                    </td>
               </tr>
              </if>
            <tr>
                <td colspan="2">
                    <span class="btn">提交</span><a class="btn1" href="{:U('index')}">返回</a</td>
            </tr>
        </table>
        <div class="float_bg">
           <div class='type1 checkclass1'>
                 <div class='float_top'>
                            <h2>选择分类</h2>
                            <a href="javascript:;" class='float_close'></a>
                    </div>
                <ul class="type checkclass">
                    <foreach name='classData' item='m'>
                                 <li>
                                      <a href="javascript:;"  cid='{$m.cid}' class="typeData classbtn">
                                        <if condition='$m["lv"] neq 0'>{$m.html}|-</if><span>{$m.classname}</span></a>
                                  </li>
                            </foreach>
             </ul>
            </div>
             <div class='type1'>
              
                  <div class='float_top'>
                            <h2>选择类型</h2>
                            <a href="javascript:;" class='float_close'></a>
                    </div>
                  <ul class="type typecheck">
                    <foreach name='typeData' item='n'>
                    <li>
                        <a href="javascript:;"  id='{$n.id}' class="typeData tpdata">{$n.name}</a>
                    </li>
                    </foreach>
             </ul>
           </div>
       </div>
       <div class='mesage'></div>
</body>
</html>
